home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11318 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: digex.net!not-for-mail
  2. From: car@access4.digex.net (Mr. Blue)
  3. Newsgroups: comp.lang.c++
  4. Subject: HP C++ Compiler Problem w/ templates
  5. Date: 13 Mar 1996 17:28:07 -0500
  6. Organization: Express Access Online Communications, Greenbelt, MD USA
  7. Message-ID: <4i7i5n$fst@access4.digex.net>
  8. NNTP-Posting-Host: access4.digex.net
  9.  
  10. The HP compiler is generating a file in the ptrepository directory,
  11. which fails to compile on the link step. It seems that this file is
  12. missing a #include. If I add the #include manually and CC that file,
  13. it will compile. If I go back up to the src directory and recompile,
  14. the file gets regenerated in the ptrepository subdirectory and the
  15. compile again fails on the link step.
  16.  
  17. Has anyone else had this sort of problem? Is there workaround for it?
  18. Some switch I need to pass to CC??
  19.  
  20. Any help Appreciated!!!!
  21.  
  22. Background info:
  23. I am using HP C++ Compiler, version: Softbench 4.0.6
  24. We are compiling on an HP 700 running 10.0.1
  25.  
  26. I am trying to compile some of the sample programs that come with
  27. Object Space's System<Toolkit>. Specifially, string7.cpp in the examples
  28. directory if that matters to anyone.
  29.  
  30.  
  31. Chris Ruegger
  32.  
  33.